package ute.mvc.dto;

import java.util.List;

import ute.mvc.model.TestAndQuizz;

public class TestDTO {

	private String testAndQuizzID;
	private String testAndQuizzName;
	private List<TestPartDTO> listPart;

	public TestDTO() {

	}

	public TestDTO(TestAndQuizz test) {
		testAndQuizzID = test.getTestAndQuizzID();
		testAndQuizzName = test.getTestAndQuizzName();
	}

	public String getTestAndQuizzID() {
		return testAndQuizzID;
	}

	public void setTestAndQuizzID(String testAndQuizzID) {
		this.testAndQuizzID = testAndQuizzID;
	}

	public String getTestAndQuizzName() {
		return testAndQuizzName;
	}

	public void setTestAndQuizzName(String testAndQuizzName) {
		this.testAndQuizzName = testAndQuizzName;
	}

	public List<TestPartDTO> getListPart() {
		return listPart;
	}

	public void setListPart(List<TestPartDTO> listPart) {
		this.listPart = listPart;
	}
}
